<template>
  <div id="app">
    <router-view v-if="isRouter"></router-view>
  </div>
</template>

<script>
export default {
  name: 'App',
  provide(){
    return{
      reload:this.reload
    }
  },
  data(){
    return{
      isRouter:true
    }
  },
  methods:{
    reload(){
      this.isRouter=false
      this.$nextTick(function (){
        this.isRouter=true
      })
    }
  }
}
</script>


